// 主执行栈 微任务队列 宏任务队列

//unicode 转 utf8
function transfer(number){
    // unicode 1 2 3 4 个字节
    //处理汉字
    let arr = ['1110','10','10']
    let str = number.toString(2)
    arr[2]+=str.substring(str.length - 6)
    arr[1]+=str.substring(str.length - 12,str.length - 6)
    arr[0]+=str.substring(0,str.length - 12).padStart(4,'0')
    return arr.map(i=>parseInt(i,2).toString(16))
}
//unicode 16进制展示
let r = transfer(0x4e07)
console.log(r);
console.log(45**2);
console.log(45**2);
console.log(Math.pow(27,1/3));
console.log('**',27**(1/3)); //  ** 几次方


// let r = 0x4e07
// console.log(parseInt(r,2));

// console.log(r.toString(2));
// console.log(Buffer.from('万'));
